package caffeinebeveragecase;

/**
 * description:
 *
 * @author Yuanml on 2020/10/19 11:57
 */
public class Tea extends CaffeineBeverage{
    Tea(String name) {
        super(name);
    }

    @Override
    public void brew() {
        System.out.println("沸水泡茶");
    }

    @Override
    public void addCondiments() {
        System.out.println("茶无需添加，直接饮用");
    }

    @Override
    public boolean isAddCondiments() {
        return false;
    }
}
